Libsdl_mixer version 1.2.9 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    libsdl_mixer  most recent diff


    version 1.2.9

      View the most recent changes for the libsdl_mixer port at: libsdl_mixer.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libsdl_mixer.
      The raw portfile for libsdl_mixer 1.2.9 is located here:
      http://libsdl_mixer.darwinports.com/dports/audio/libsdl_mixer/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libsdl_mixer


      The libsdl_mixer Portfile 59710 2009-10-20 20:43:47Z jmr macports.org $

      PortSystem 1.0

      Name: libsdl_mixer
      set my_name SDL_mixer
      Version: 1.2.9
      Category: audio devel
      Platform: macosx
      Maintainers: nomaintainer
      use_parallel_build yes
      Description: Audio mixer library for SDL

      Long Description: A sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music.

      Homepage: http://www.libsdl.org/projects/${my_name}/
      Master Sites: ${homepage}release/
      distname ${my_name}-${version}

      Checksums: md5 a9eb8750e920829ff41dbe7555850156 sha1 33c43d868ec7a30de1a44a6ac05e5419b5ff53df rmd160 d39692a5fafe9035443d22ef8a3e91d4a38e787a

      depends_lib path:lib/pkgconfig/sdl.pc:libsdl port:smpeg port:libvorbis port:libogg

      configure.args --with-sdl-prefix=${prefix} --disable-sdltest --with-smpeg-prefix=${prefix} --disable-smpegtest

      patch {
      reinplace "s|`find_lib\\(.*\\.dylib\\)|${prefix}/lib/`find_lib\\1|g" ${worksrcpath}/configure
      }

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README ${destroot}${docdir}
      }

      Variant: mikmod description {Enable use of external libmikmod} {
      configure.args-append --enable-music-libmikmod
      depends_lib-append port:libmikmod
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libsdl_mixer
      % sudo port install libsdl_mixer
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libsdl_mixer
      ---> Verifying checksum for libsdl_mixer
      ---> Extracting libsdl_mixer
      ---> Configuring libsdl_mixer
      ---> Building libsdl_mixer with target all
      ---> Staging libsdl_mixer into destroot
      ---> Installing libsdl_mixer
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libsdl_mixer with these commands:
      %  man libsdl_mixer
      % apropos libsdl_mixer
      % which libsdl_mixer
      % locate libsdl_mixer

     Where to find more information:

    Darwin Ports



    Lightbox this page.